package com.letv.core.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 专题列表
 * 
 * @author zhuqiao
 *
 */
public class TopicDetailInfoListBean implements LetvBaseBean {
    private static final long serialVersionUID = 1L;

    /**
     * 缓存key
     */
    public static final String CACHE_KEY_TOPIC_ALBUM_LIST = TopicDetailInfoListBean.class.getSimpleName();

    private TopicSubject subject;
    private List<TopicDetailItemBean> list = new ArrayList<TopicDetailItemBean>();

    public TopicSubject getSubject() {
        return subject;
    }

    public void setSubject(TopicSubject subject) {
        this.subject = subject;
    }

    public List<TopicDetailItemBean> getList() {
        return list;
    }

    public void setList(List<TopicDetailItemBean> list) {
        this.list = list;
    }
    
    public void add(TopicDetailItemBean bean){
    	list.add(bean);
    }

    public static class TopicDetailInfoBean implements LetvBaseBean {
        private static final long serialVersionUID = 1L;
        TopicSubject subject;

        public TopicSubject getSubject() {
            return subject;
        }

        public void setSubject(TopicSubject subject) {
            this.subject = subject;
        }
    }

    public static class TopicDetailItemBean implements LetvBaseBean {
        private static final long serialVersionUID = 1L;
        private String id;

        private String pid;

        private String name;

        private String subName;

        private int type;// 1、专辑，3、视频

        private int play;// 1:可以;0:不可以

        private int download;// 1:支持下载;0:禁止下载

        private int jump;

        private int isEnd;// 是否完结 1:完结;0未完结

        private String episode;// 总集数

        private String nowEpisode;// 当前集数

        private String albumOrVideoType;

        /*
         * 播放时长
         */
        private int duration;

        /*
         * 图片地址
         */
        private String pic120_90;

        private String pic300_300;

        private String pic400_300;
        
        private String subjectName;// 专辑id
    	
    	private String description;// 简介
    	
    	private String pubName;// 专辑类型
    	
    	private String tagTitle;// 副标题
    	
    	private String ctime;// 时间
    	
    	private int cid;// 频道id

    	/**
    	 * @return the subjectName
    	 */
    	public String getSubjectName() {
    		return subjectName;
    	}

    	/**
    	 * @param subjectName the subjectName to set
    	 */
    	public void setSubjectName(String subjectName) {
    		this.subjectName = subjectName;
    	}

    	/**
    	 * @return the description
    	 */
    	public String getDescription() {
    		return description;
    	}

    	/**
    	 * @param description the description to set
    	 */
    	public void setDescription(String description) {
    		this.description = description;
    	}

    	/**
    	 * @return the pubName
    	 */
    	public String getPubName() {
    		return pubName;
    	}

    	/**
    	 * @param pubName the pubName to set
    	 */
    	public void setPubName(String pubName) {
    		this.pubName = pubName;
    	}

    	
    	/**
    	 * @return the tagTitle
    	 */
    	public String getTagTitle() {
    		return tagTitle;
    	}

    	/**
    	 * @param tagTitle the tagTitle to set
    	 */
    	public void setTagTitle(String tagTitle) {
    		this.tagTitle = tagTitle;
    	}

    	/**
    	 * @return the ctime
    	 */
    	public String getCtime() {
    		return ctime;
    	}

    	/**
    	 * @param ctime the ctime to set
    	 */
    	public void setCtime(String ctime) {
    		this.ctime = ctime;
    	}

    	/**
    	 * @return the cid
    	 */
    	public int getCid() {
    		return cid;
    	}

    	/**
    	 * @param cid the cid to set
    	 */
    	public void setCid(int cid) {
    		this.cid = cid;
    	}

        /**
         * @return the jump
         */
        public int getJump() {
            return jump;
        }

        /**
         * @param jump the jump to set
         */
        public void setJump(int jump) {
            this.jump = jump;
        }

        /**
         * @return the id
         */
        public String getId() {
            return id;
        }

        /**
         * @param id the id to set
         */
        public void setId(String id) {
            this.id = id;
        }

        /**
         * @return the pid
         */
        public String getPid() {
            return pid;
        }

        /**
         * @param pid the pid to set
         */
        public void setPid(String pid) {
            this.pid = pid;
        }

        /**
         * @return the name
         */
        public String getName() {
            return name;
        }

        /**
         * @param name the name to set
         */
        public void setName(String name) {
            this.name = name;
        }

        /**
         * @return the subName
         */
        public String getSubName() {
            return subName;
        }

        /**
         * @param subName the subName to set
         */
        public void setSubName(String subName) {
            this.subName = subName;
        }

        /**
         * @return the type
         */
        public int getType() {
            return type;
        }

        /**
         * @param type the type to set
         */
        public void setType(int type) {
            this.type = type;
        }

        /**
         * @return the play
         */
        public int getPlay() {
            return play;
        }

        /**
         * @param play the play to set
         */
        public void setPlay(int play) {
            this.play = play;
        }

        /**
         * @return the download
         */
        public int getDownload() {
            return download;
        }

        /**
         * @param download the download to set
         */
        public void setDownload(int download) {
            this.download = download;
        }

        /**
         * @return the isEnd
         */
        public int getIsEnd() {
            return isEnd;
        }

        /**
         * @param isEnd the isEnd to set
         */
        public void setIsEnd(int isEnd) {
            this.isEnd = isEnd;
        }

        /**
         * @return the episode
         */
        public String getEpisode() {
            return episode;
        }

        /**
         * @param episode the episode to set
         */
        public void setEpisode(String episode) {
            this.episode = episode;
        }

        /**
         * @return the nowEpisode
         */
        public String getNowEpisode() {
            return nowEpisode;
        }

        /**
         * @param nowEpisode the nowEpisode to set
         */
        public void setNowEpisode(String nowEpisode) {
            this.nowEpisode = nowEpisode;
        }

        /**
         * @return the albumOrVideoType
         */
        public String getAlbumOrVideoType() {
            return albumOrVideoType;
        }

        /**
         * @param albumOrVideoType the albumOrVideoType to set
         */
        public void setAlbumOrVideoType(String albumOrVideoType) {
            this.albumOrVideoType = albumOrVideoType;
        }

        public int getDuration() {
            return duration;
        }

        public void setDuration(int duration) {
            this.duration = duration;
        }

        public String getPic120_90() {
            return pic120_90;
        }

        public void setPic120_90(String pic120_90) {
            this.pic120_90 = pic120_90;
        }

        public String getPic300_300() {
            return pic300_300;
        }

        public void setPic300_300(String pic300_300) {
            this.pic300_300 = pic300_300;
        }

        public String getPic400_300() {
            return pic400_300;
        }

        public void setPic400_300(String pic400_300) {
            this.pic400_300 = pic400_300;
        }
    }
}
